<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="pager">
    <ul class="clearfix">
        <li><a href="${pageContext.request.contextPath}/manage/${param.page}?pageNo=1">首页</a></li>
        <c:if test="${param.pageNo gt 1}">
            <li><a href="${pageContext.request.contextPath}/manage/${param.page}?pageNo=${param.pageNo-1}">上一页</a></li>
        </c:if>
        <c:if test="${param.pageNo lt param.pages}">
            <li><a href="${pageContext.request.contextPath}/manage/${param.page}?pageNo=${param.pageNo+1}">下一页</a></li>
        </c:if>
        <li><a href="${pageContext.request.contextPath}/manage/${param.page}?pageNo=${param.pages}">末页</a></li>
        <li>合计${param.total}条 第${param.pageNo}/${param.pages}页</li>
    </ul>
</div>